/*
Sader engine framework
(c) Rachel J. Morris
MIT License
www.moosader.com
*/

#include "BaseCharacter.h"

namespace sader
{
    void BaseCharacter::Move()
    {
    }

    bool BaseCharacter::CollidingWith( BaseCharacter* obj2 )
    {
        if (    ColX1() < obj2->ColX2() &&
                ColX2() > obj2->ColX1() &&
                ColZ1() < obj2->ColZ2() &&
                ColZ2() > obj2->ColZ1() )
        {

            return true;
        }

        return false;
    }
}
